package com.bishe.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 部门
 * @date 2022/03/20 42:08:37
 */
@Data
public class Org implements Serializable {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("父id")
    private String pid;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("子部门列表")
    private List<Org> orgs;
}
